package cn.supermarket.system.mapper;

import cn.supermarket.common.entity.system.SysDictData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity cn.supermarket.common.entity.system.SysDictData
 */
@Repository
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
    /**
     * 查询字典数据
     *
     * @param dictType 字典类型
     * @return 字典数据
     */
    public int countDictDataByType(String dictType);

    List<SysDictData> selectDictDataList(SysDictData dictData);
}




